package entity;

import lombok.Data;

@Data
public class User {
    private int id;
    private String account;
    private String password;
    private String nickname;
    private String profile;
    private String gender;
    private String level;
    private int age;
    private String identity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    private String tag;
    public User(){};
    public User(int id, String account, String password, String nickname, String profile, String gender, String level, int age, String identity, String tag) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.nickname = nickname;
        this.profile = profile;
        this.gender = gender;
        this.level = level;
        this.age = age;
        this.identity = identity;
        this.tag = tag;
    }
}
